package coma.dou.dema;

public class Good {
    private Long id;
    private String code1;
    private String name1;
    private String code2;
    private String name2;
    private String code3;
    private String name3;

    public Good(Long id, String code1, String name1, String code2, String name2, String code3, String name3) {
        this.id = id;
        this.code1 = code1;
        this.name1 = name1;
        this.code2 = code2;
        this.name2 = name2;
        this.code3 = code3;
        this.name3 = name3;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode1() {
        return code1;
    }

    public void setCode1(String code1) {
        this.code1 = code1;
    }

    public String getName1() {
        return name1;
    }

    public void setName1(String name1) {
        this.name1 = name1;
    }

    public String getCode2() {
        return code2;
    }

    public void setCode2(String code2) {
        this.code2 = code2;
    }

    public String getName2() {
        return name2;
    }

    public void setName2(String name2) {
        this.name2 = name2;
    }

    public String getCode3() {
        return code3;
    }

    public void setCode3(String code3) {
        this.code3 = code3;
    }

    public String getName3() {
        return name3;
    }

    public void setName3(String name3) {
        this.name3 = name3;
    }

    @Override
    public String toString() {
        return "Good{" +
                "id=" + id +
                ", code1='" + code1 + '\'' +
                ", name1='" + name1 + '\'' +
                ", code2='" + code2 + '\'' +
                ", name2='" + name2 + '\'' +
                ", code3='" + code3 + '\'' +
                ", name3='" + name3 + '\'' +
                '}';
    }
}
